﻿/// <reference path="../GeneratedArtifacts/viewModel.js" />

myapp.Order.created = function (entity) {
    entity.OrderDate = new Date();
    entity.OrderStatus = 'New';
};